4D Chart v13CT ON EVENT |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D Chart v13
CT ON EVENT
CT ON EVENT
The CT ON EVENT command executes method whenever a previously specified event occurs. The events that cause method to execute are described by the CT EVENT FILTER command. If method is an empty string, no method is executed. If the area in which the event occurs has both an object method and an event method, the object method executes last. CT ON EVENT is especially useful for 4D Chart areas in plug-in windows because they cannot have object methods. When 4D Chart calls method, it returns four parameters ($1, $2, $3, and $4) that can be used to manage the event.
If you plan to compile your database, you should declare these parameter types as follows: C_LONGINT($1;$2;$3;$4) This example shows the installation of an event method. It opens a plug-in window, specifies Ctrl+click as the event (Command-click on Macintosh), and then installs the event method EventProc. `Open plug-in window |
PROPERTIES
Product: 4D Chart
INDEX HISTORY
Created: SEE ALSO |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||